/ Macwelt 4
/ Macwelt DVD 4.cdr / Internet / Internet-Utilities / Mac-OS X / darkstat-2.2 / src / dns.h ![]() | < prev | next > |
MacBinary | 2002-09-23 | 896 b | [□□□□/□□□□] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | Jesper Olsen Module (music/jesperOlsen) | magic | Supported |
1% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, Mon Sep 23 03:32:07 2002, modified Mon Sep 23 03:32:07 2002, 369 bytes "dns.h" , at 0x1f1 286 bytes resource | default (weak) | |
99% | file | data | default | |
65% | TrID | TTComp archive compressed (bin-2K) | default (weak) | |
33% | TrID | MacBinary 2 | default (weak) | |
0% | TrID | Sybase iAnywhere database files | default (weak) | |
100% | dearkID | deark: macbinary | default | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [□□□□] |
macFileCreator | [□□□□] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 64 6e 73 2e 68 00 | 00 00 00 00 00 00 00 00 |..dns.h.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 01 71 00 | 00 01 1e b9 b4 73 f7 b9 |......q.|.....s..|
|00000060| b4 73 f7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.s......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 82 13 00 00 |........|........|
|00000080| 0a 2f 2a 20 64 61 72 6b | 73 74 61 74 3a 20 61 20 |./* dark|stat: a |
|00000090| 6e 65 74 77 6f 72 6b 20 | 74 72 61 66 66 69 63 20 |network |traffic |
|000000a0| 61 6e 61 6c 79 7a 65 72 | 0a 20 2a 20 28 63 29 20 |analyzer|. * (c) |
|000000b0| 32 30 30 31 2d 32 30 30 | 32 2c 20 45 6d 69 6c 20 |2001-200|2, Emil |
|000000c0| 4d 69 6b 75 6c 69 63 2e | 0a 20 2a 2f 0a 0a 23 69 |Mikulic.|. */..#i|
|000000d0| 66 6e 64 65 66 20 5f 5f | 44 4e 53 5f 48 0a 23 64 |fndef __|DNS_H.#d|
|000000e0| 65 66 69 6e 65 20 5f 5f | 44 4e 53 5f 48 0a 0a 23 |efine __|DNS_H..#|
|000000f0| 69 6e 63 6c 75 64 65 20 | 22 64 61 72 6b 73 74 61 |include |"darksta|
|00000100| 74 2e 68 22 0a 23 69 6e | 63 6c 75 64 65 20 3c 70 |t.h".#in|clude <p|
|00000110| 74 68 72 65 61 64 2e 68 | 3e 0a 0a 74 79 70 65 64 |thread.h|>..typed|
|00000120| 65 66 20 65 6e 75 6d 20 | 7b 4f 4e 2c 20 4f 46 46 |ef enum |{ON, OFF|
|00000130| 2c 20 49 4e 5f 50 52 4f | 47 52 45 53 53 7d 20 64 |, IN_PRO|GRESS} d|
|00000140| 6e 73 5f 73 74 61 74 75 | 73 3b 0a 0a 65 78 74 65 |ns_statu|s;..exte|
|00000150| 72 6e 20 70 74 68 72 65 | 61 64 5f 74 20 64 6e 73 |rn pthre|ad_t dns|
|00000160| 5f 74 68 72 65 61 64 3b | 0a 65 78 74 65 72 6e 20 |_thread;|.extern |
|00000170| 70 74 68 72 65 61 64 5f | 6d 75 74 65 78 5f 74 20 |pthread_|mutex_t |
|00000180| 64 62 5f 6d 75 74 65 78 | 3b 0a 65 78 74 65 72 6e |db_mutex|;.extern|
|00000190| 20 64 6e 73 5f 73 74 61 | 74 75 73 20 77 61 6e 74 | dns_sta|tus want|
|000001a0| 5f 72 65 73 6f 6c 76 65 | 3b 0a 0a 63 68 61 72 20 |_resolve|;..char |
|000001b0| 2a 6e 61 6d 65 5f 66 72 | 6f 6d 5f 69 70 28 64 77 |*name_fr|om_ip(dw|
|000001c0| 6f 72 64 20 69 70 5f 61 | 64 64 72 29 3b 0a 76 6f |ord ip_a|ddr);.vo|
|000001d0| 69 64 20 64 6e 73 5f 6d | 61 69 6e 28 76 6f 69 64 |id dns_m|ain(void|
|000001e0| 20 2a 70 74 72 29 3b 0a | 0a 23 65 6e 64 69 66 0a | *ptr);.|.#endif.|
|000001f0| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000210| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000220| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000230| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+